package com.ruoyi.plus.pub.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 常用语对象 pub_common_words
 *
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@TableName("pub_common_words")
public class PubCommonWords extends BaseEntity implements Serializable{
    private static final long serialVersionUID = 1L;

    /** ID */
    @TableId(value = "id")
    private Long id;

    @Excel(name = "系统类型")
    @TableField(value = "system_type")
    private String systemType;

    /** 常用语类型(1:常用地址;2:常见问题) */
    @Excel(name = "常用语类型(1:常用地址;2:常见问题)")
    @TableField(value = "type")
    private String type;

    /** 用户id */
    @Excel(name = "用户id")
    @TableField(value = "user_id")
    private Long userId;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    @TableField(value = "nick_name")
    private String nickName;

    /** 常用语 */
    @Excel(name = "常用语")
    @TableField(value = "content")
    private String content;

    /** 排序 */
    @Excel(name = "排序")
    @TableField(value = "order_num")
    private Long orderNum;

}
